package com.woniuxy.order.feign;

import com.woniuxy.core.model.Result;
import com.woniuxy.renters.dao.RentersInfo;
import com.woniuxy.stall.dao.StallInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "renters-server")
@ComponentScan
public interface RentersClient {

    @GetMapping("/renters/rentersInfo/loadAllRentersinfobyId")
    Result<RentersInfo> loadAllRentersinfobyId(@RequestParam("rentersInfoId") Integer rentersInfoId);
}
